<template>
	<view class="ss-flex ss-col-center notice-wrap">
		<su-notice-bar
				:color="'#ffffff'"
				:showIcon="false"
        scrollable
        :text="data.title"
        :speed="100"
				style="flex: 1; font-size: 20rpx"
		></su-notice-bar>
	</view>
</template>

<script setup>
/**
 * 装修组件  - 通知栏
 *
 */
import sheep from '@/sheep';

const props = defineProps({
	data: {
		type: Object,
		default() {
		},
	},
});
</script>

<style lang="scss" scoped>
.notice-wrap {
	width: 90%;
	margin-left: 5%;
  margin-top: 20rpx;
	color: #FFFFFF;
	.icon-img {
		left: 10px;
		width: 20px;
		height: 20px;
		opacity: 1;
	}
}
</style>
